<?
/**
 * Default input.
 *
 * @params	form	name of form
 * @params	name	name of field
 * @params	value	value of field
 * @params	options	options of field
 * @params	onchange	code to run ononchange
 * @params	preview	true to show preview image
 */
 
$size = $params["size"]?$params["size"]:24;

global $imagesurl,$topurl;

if ($params["value"]) {
	$src = "$topurl/shots/{$params["value"]}";
	echo "<img src=\"$src\" id=\"{$params["name"]}-preview\" height=64>";
	}
	
?>